<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <div id="app">
        <label>姓名：</label>
        <!-- 组合按键修饰符  ctrl shift alt  meta -->
        <input type="text" id="name" v-model="name" @keyup.ctrl.alt.u.a="log">
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                name: ''
            },
            methods: {
                log(){
                    console.log(`name:${this.name}`)
                }
            }
        })
    </script>
</body>
</html>